<template>
  <div>
    <!-- 面包屑导航 -->
    <el-breadcrumb separator-class="el-icon-arrow-right" class="bread">
      <el-breadcrumb-item :to="{ path: '/index' }">后台首页</el-breadcrumb-item>
      <el-breadcrumb-item v-for="(item,index) in $store.state.bread" :key="index">{{item}}</el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  created() {},
  mounted() {},
  methods: {},
  computed: {},
};
</script>

<style scoped>
.bread{
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }
</style>
